import request from '@/utils/request'

/**
 * @description: 获取个人频道列表
 * @param {*}
 * @return {*}
 */
export const getChannels = () => {
  return request({
    method: 'GET',
    url: '/app/v1_0/user/channels'
  })
}

/**
 * @description: 获取所有频道列表
 * @param {*}
 * @return {*}
 */

export const getAllChannels = () => {
  return request({
    method: 'GET',
    url: '/app/v1_0/channels'
  })
}
